
package cn.yeamin.ms.utils;

import java.util.Collection;

import org.apache.commons.lang3.StringUtils;

public class IsEmptyUtils  {
	
	
	public static Boolean isEmptyForStr(String str) {
		return str == null || StringUtils.isEmpty(str) ? true : false;
	}
	
	public static  Boolean isEmptyForListOrSet(Collection list) {
		return list == null || list.size() == 0  && list.isEmpty() ? true : false;
	}
}
